<?php if (!defined('THINK_PATH')) exit();?><html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" type="text/css" media="screen and (max-device-width:600px)">
<link rel="stylesheet" type="text/css" href="/Public//Css/wx_common1.css">
<script type="text/javascript" src="/Public/Js/jquery.min.js"></script>
<title>订单列表</title>
<!--标准mui.css-->
<link rel="stylesheet" href="/Public/Css/css/mui.min.css">
<style>body{background-color: #FFF;}</style>
<script src="/Public/js/mui.min.js"></script>
 <!--标准muiEND-->
<style>
.hide{ display:none; width:250px; height:250px; z-index:999; position:absolute; top:50%; left:50%; margin-left:-125px; margin-top:-125px;}
body {
	font-size: 14px;
}
.ol_table {
	position: static!important;
	 top: 0% !important;
	 left: 0% !important;
	padding-left: 7% !important;
}
.ol_center1{
	width: 100%;
	border: none;
	border-radius: 2px!important;
	margin-top: 5px;
}
.functionText{
	color: #14b941;
}
.functionIco img{
	display: none;
}
.top{
	display: none;
}
.ol_center1 a{
	text-decoration: none;
}
td{
	height: 30px;
}

	.ol_center1:last-of-type {
		margin-bottom: 80px;
	}

</style>

<script>
function showImg(id){
	$('.hide').css('display','none');
	$('#bnimg'+id).css('display','block');
}
function hideImg(){
	$('.hide').css('display','none');
}
</script>
</head>

<body>
<div class="top">订单列表</div>
<div class="top1"><a href="javascript:void(0);" onclick="window.history.back()"><img src="/Public/images/orderlog_03.png"></a></div>
<div class="top2"><a href="<?php echo U('Index/myinfo',array('id'=>1));?>"><img src="/Public/images/zhuye_03.png"></a></div>
<?php if(is_array($order)): $i = 0; $__LIST__ = $order;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><div class="ol_center1">
	<a href="/index.php?s=/Index/newPay/orderid/<?php echo ($vo["id"]); ?>">
		<div class="myOrder">
    	<div class="functionIco"><img src="/Public/images/ordernum_03.png"></div>
        <div class="functionText">订单号:<?php echo ($vo["orderid"]); ?>	</div></div>
		<div class="split"></div>
		<div class="ol_table">
		   <table border="0">
		       <tbody><tr>
			       <td>行程安排：</td>
				   <td name="" class="td_02"><?php echo (mb_substr($vo["start"],0,30,'utf-8')); ?>-<?php echo (mb_substr($vo["end"],0,30,'utf-8')); ?></td>
				 
			   </tr>

			   <tr>
			       <td>出发时间：</td>
				   <td class="td_02" colspan="2"><?php echo ($vo["starttime"]); ?></td>
			   </tr>
				<tr>
			       <td>支付状态：</td>
                               <td class="td_02"><?php if($vo['pay_statu'] == '0'): ?>未支付<?php elseif($vo['pay_statu'] == '1'): ?>已支付<?php endif; ?> </td>
			   </tr>
	
			   <tr>
			       <td>订单状态:</td>
				   <td class="td_02">
					   <?php if($vo['status'] == '6'): ?>已完成
						   <?php elseif($vo['status'] == '7'): ?>撤销订单
						   <?php elseif($vo['status'] == '5'): ?>确认订单
						   <?php elseif($vo['status'] == '4'): ?>已到达目的地
						   <?php elseif($vo['status'] == '3'): ?>接到乘客
						   <?php elseif($vo['status'] == '2'): ?>到达指定地点
						   <?php elseif($vo['status'] == '1'): ?>发车
						   <?php elseif($vo['status'] == '0'): ?>创建订单<?php endif; ?>
				   </td>
			   </tr>
		   </tbody></table>
		</div>
	</a>
</div><?php endforeach; endif; else: echo "" ;endif; ?>

<!-- <link rel="stylesheet" type="text/css" href="/Public/Css/css/mui.min.css"> -->
<link rel="stylesheet" href="//at.alicdn.com/t/font_742744_grqfklr7az.css" />
<style>
    .mui-tab-item .iconfont {
    font-size: 28px;
    margin-bottom: 3px;
    display: block;
}
.mui-tab-item .mui-tab-label {
    font-size: 12px;
}
.mui-bar { 
    -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.13);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.13); 
}
.mui-bar-tab{
    height: 55px;
}
</style>
<nav class="mui-bar mui-bar-tab bottom-bar footer-bar">

        <a class="mui-tab-item " href="/index.php?s=/Index/index">
                <span class="iconfont icon-car">
        </span>
            <span class="mui-tab-label">乘车</span>
        </a>
        <a class="mui-tab-item "  href="/index.php?s=/Index/order">
            <span class="iconfont icon-icon-"></span>
            <span class="mui-tab-label">我的订单</span>
        </a>
   
        <a class="mui-tab-item " href="/index.php?s=/Index/myinfo">
            <span class="iconfont icon-gerenzhongxin "></span>
            <span class="mui-tab-label">个人中心</span>
        </a>
    </nav>

    <script>
       mui('body').on('tap','a',function(){window.location.href=this.href;});
    </script>

</body></html>